#include <msp430.h> 

#include"Config.h"


#pragma vector = TIMERA1_VECTOR
__interrupt void Timer_A1(void){
    switch (TAIV){
    case 2:P6OUT=~(P6OUT&0x0f);break;
    case 4:P6OUT=~(P6OUT&0xf0);break;
    case 10:P6OUT=~P6OUT;break;
    }
    //P6OUT=~P6OUT;
}



/**
 * main.c
 */
int main(void)
{
	WDTCTL = WDTPW | WDTHOLD;	// stop watchdog timer

	Clock_Init();

	timerA_cap_init_P12(CM_3);
	timerA_cap_init_P13(CM_3);
    P6DIR=0xff;
    while(1);
	return 0;
}
